<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true" 
CodeBehind="DataBinding.aspx.cs" 
Inherits="SharpPieces.DemoApp.SharpPiecesWebControls.ExtendedDropDownList.DataBinding" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headPlaceHolder" runat="server">
    <title>SharpPieces - ExtendedDropDownList DataBinding Demo - Live Demo</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="descriptionPlaceholder" runat="server">
    <h1>ExtendedDropDownList DataBinding</h1>
    
    <p>Below you'll find a demo of the new databinding feature in ExtendedDropDownList.</p>
    
    <p>The data items don't need to be sorted to be added to the same group.</p>
    
    <p>Null group value or empty string group text("") is interpreted as no text.</p>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="demoPlaceholder" runat="server">
    <p>Data binding on ExtendedDropDownList with grouping:</p>
    <p><piece:ExtendedDropDownList ID="ddl" AutoGroupID="true" runat="server"></piece:ExtendedDropDownList></p>
    
    <p>Data binding on ExtendedDropDownList without grouping(like a regular DropDownList):</p>
    <p><piece:ExtendedDropDownList ID="ddl2" runat="server"></piece:ExtendedDropDownList></p>
</asp:Content>
